package com.coderush.admin.sys.enums;

/**
 * PackageName com.coderush.admin.sys.enums
 *
 * @Author Eason
 * @Version v1.0
 * @ClassName RoleStatusEnum
 * @Date 2025/8/29
 * @Description 状态：1-启用，0-停用
 */
public enum RoleStatusEnum {

    ENABLE(1, "启用"),
    DISABLE(0, "停用");

    /** 状态码 **/
    private Integer code ;

    /** 消息 **/
    private String message ;

    RoleStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}